package com.longtop.leaning.dao;

import com.longtop.leaning.data.AppData;

public class UserDaoFactory {

	public static UserDao getUserDao() {
		if (AppData.isOnLine) {
			return UserHTTPDao.getInstance();
		} else {
			return UserRMSDao.getInstance();
		}
	}

}
